package jhunter.dao.dialect;

import java.util.List;

import jhunter.dao.bo.BaseObject;
import jhunter.dao.page.Page;

public interface Dialect {
	/**
	 * @param page
	 * @param sql
	 * @param params sql params, it will be changed.
	 * @return sql  paged
	 */
	String page(Page<BaseObject> page, String sql, List<Object> params);

	int getFirstParameter(Page<BaseObject> page);
	
	int getSecondParameter(Page<BaseObject> page);
	
	String getHibernateDialectClassName(); 
}
